package com.example.proxy.cglibproxy;

import java.util.Properties;

public class ProductOwner {
    /**
     * Superclass has no null constructors but no arguments were given
     * 如果cglib代理的类没有无参构造函数，就会报错
     */
    public ProductOwner(){}
    private String name;
    public ProductOwner(String name){
        this.name = name;
    }
    public void defineBackLog(){
        System.out.println("PO: " + name + " defines Backlog.");
    }
}
